using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN IChuongTrinhDaoTaoService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: IChuongTrinhDaoTaoService</para>
	/// <para>Description: </para>
	///</summary>

	[ServiceContract]
	public partial interface IChuongTrinhDaoTaoService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: ChuongTrinhDaoTao_ID</para>
		/// <para>Output: ChuongTrinhDaoTaoEntity</para>
		///</summary>
		[OperationContract]
		ChuongTrinhDaoTaoEntity SelectOne(int ChuongTrinhDaoTao_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOneByMaCTDaoTao</para>
		/// <para>Input: MaCTDaoTao</para>
		/// <para>Output: ChuongTrinhDaoTaoEntity</para>
		///</summary>
		[OperationContract]
		ChuongTrinhDaoTaoEntity SelectOneByMaCTDaoTao(string MaCTDaoTao);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOneByMacDinh</para>
		/// <para>Input: MacDinh</para>
		/// <para>Output: ChuongTrinhDaoTaoEntity</para>
		///</summary>
		[OperationContract]
		ChuongTrinhDaoTaoEntity SelectOneByMacDinh(bool MacDinh);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ChuongTrinhDaoTaoEntity</para>
		///</summary>
		[OperationContract]
		List<ChuongTrinhDaoTaoEntity> SelectAll();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDS();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ChuongTrinhDaoTaoEntity</para>
		///</summary>
		[OperationContract]
		List<ChuongTrinhDaoTaoEntity> SelectAllFilter(string strFilter);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSFilter(string strFilter);
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: ChuongTrinhDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Save(ChuongTrinhDaoTaoEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveRet</para>
		/// <para>Input: ChuongTrinhDaoTaoEntity</para>
		/// <para>Output: return entity if succeeded else return null</para>
		///</summary>
		[OperationContract]
		ChuongTrinhDaoTaoEntity SaveRet(ChuongTrinhDaoTaoEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of ChuongTrinhDaoTaoEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void SaveList(List<ChuongTrinhDaoTaoEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of ChuongTrinhDaoTaoEntity</para>
		/// <para>Output: return list of entities if succeeded else return null list</para>
		///</summary>
		[OperationContract]
		List<ChuongTrinhDaoTaoEntity> SaveListRet(List<ChuongTrinhDaoTaoEntity> list);
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: ChuongTrinhDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Update(ChuongTrinhDaoTaoEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of ChuongTrinhDaoTaoEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void UpdateList(List<ChuongTrinhDaoTaoEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMaCTDaoTao</para>
		/// <para>Input: NewMaCTDaoTao,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMaCTDaoTao(string NewMaCTDaoTao,int ChuongTrinhDaoTao_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateTenCTDaoTao</para>
		/// <para>Input: NewTenCTDaoTao,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateTenCTDaoTao(string NewTenCTDaoTao,int ChuongTrinhDaoTao_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateNgayTao</para>
		/// <para>Input: NewNgayTao,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateNgayTao(DateTime NewNgayTao,int ChuongTrinhDaoTao_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateGhiChu</para>
		/// <para>Input: NewGhiChu,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateGhiChu(string NewGhiChu,int ChuongTrinhDaoTao_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateNganhHoc_ID</para>
		/// <para>Input: NewNganhHoc_ID,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateNganhHoc_ID(int NewNganhHoc_ID,int ChuongTrinhDaoTao_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateLoaiHocPhi</para>
		/// <para>Input: NewLoaiHocPhi,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateLoaiHocPhi(Byte NewLoaiHocPhi,int ChuongTrinhDaoTao_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateChoPhepDangKy</para>
		/// <para>Input: NewChoPhepDangKy,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateChoPhepDangKy(bool NewChoPhepDangKy,int ChuongTrinhDaoTao_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMacDinh</para>
		/// <para>Input: NewMacDinh,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMacDinh(bool NewMacDinh,int ChuongTrinhDaoTao_ID);
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: ChuongTrinhDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Delete(ChuongTrinhDaoTaoEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByID(int ChuongTrinhDaoTao_ID);
		#endregion

		#region Select join to NganhHoc functions
		#endregion

		#region Select,delete by ChuongTrinhDaoTao_ID functions
		#endregion

		#region Select,delete by NganhHoc_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END ChuongTrinhDaoTaoWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

